package com.entity.system;

import java.io.Serializable;
import java.util.List;

public class StaticPermission implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = 8263274100687260222L;
	private Long id;
	private String permissionCode;
	private String permissionName;
	private String permissionAction;
	private String permissionNote;
	private Long permissionParent;
	private String permissionType;
	private byte permissionMenu;
	private String permissionIcon;
	private String menuHref;
	private List<StaticPermission> list;
	private int add;
	private int del;
	private int edit;
	private int query;
	private int menuPermissions;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPermissionCode() {
		return permissionCode;
	}

	public void setPermissionCode(String permissionCode) {
		this.permissionCode = permissionCode;
	}

	public String getPermissionName() {
		return permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

	public String getPermissionAction() {
		return permissionAction;
	}

	public void setPermissionAction(String permissionAction) {
		this.permissionAction = permissionAction;
	}

	public String getPermissionNote() {
		return permissionNote;
	}

	public void setPermissionNote(String permissionNote) {
		this.permissionNote = permissionNote;
	}

	public Long getPermissionParent() {
		return permissionParent;
	}

	public void setPermissionParent(Long permissionParent) {
		this.permissionParent = permissionParent;
	}

	public String getPermissionType() {
		return permissionType;
	}

	public void setPermissionType(String permissionType) {
		this.permissionType = permissionType;
	}

	public byte getPermissionMenu() {
		return permissionMenu;
	}

	public void setPermissionMenu(byte permissionMenu) {
		this.permissionMenu = permissionMenu;
	}

	public String getPermissionIcon() {
		return permissionIcon;
	}

	public void setPermissionIcon(String permissionIcon) {
		this.permissionIcon = permissionIcon;
	}

	public String getMenuHref() {
		return menuHref;
	}

	public void setMenuHref(String menuHref) {
		this.menuHref = menuHref;
	}

	public List<StaticPermission> getList() {
		return list;
	}

	public void setList(List<StaticPermission> list) {
		this.list = list;
	}

	public int getAdd() {
		return add;
	}

	public void setAdd(int add) {
		this.add = add;
	}

	public int getDel() {
		return del;
	}

	public void setDel(int del) {
		this.del = del;
	}

	public int getEdit() {
		return edit;
	}

	public void setEdit(int edit) {
		this.edit = edit;
	}

	public int getQuery() {
		return query;
	}

	public void setQuery(int query) {
		this.query = query;
	}

	public int getMenuPermissions() {
		return menuPermissions;
	}

	public void setMenuPermissions(int menuPermissions) {
		this.menuPermissions = menuPermissions;
	}

	@Override
	public String toString() {
		return "StaticPermission [id=" + id + ", permissionCode=" + permissionCode + ", permissionName="
				+ permissionName + ", permissionAction=" + permissionAction + ", permissionNote=" + permissionNote
				+ ", permissionParent=" + permissionParent + ", permissionType=" + permissionType + ", permissionMenu="
				+ permissionMenu + ", permissionIcon=" + permissionIcon + "]";
	}
	
	
}